/**
 * 
 */
package org.statewalker.parser.turtle;

import org.statewalker.dict.BaseDict;
import org.statewalker.validator.ValidatorFactory;
import org.statewalker.validator.ValidatorGrammarConfig;

public class TurtleValidatorFactory extends ValidatorFactory {

    protected TurtleDict1 fWikiInlineDictionary;

    public TurtleValidatorFactory() {
        super();
    }

    @Override
    protected void configureDictionaries() {
        fWikiInlineDictionary = new TurtleDict1();
    }

    @Override
    protected void configureTransitions(ValidatorGrammarConfig config) {
        // --------------------------------------------------------------------
        // Grammars definition
        // --------------------------------------------------------------------
        TurtleGrammar inlineGrammar = new TurtleGrammar(config, BaseDict.ROOT);
        inlineGrammar.init();
    }

    public TurtleDict1 getWikiInlineDictionary() {
        return fWikiInlineDictionary;
    }

}